package com.itheima.mvcconfig;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@Configuration//声明我是一个配置类
@ComponentScan({"com.itheima.controller","com.itheima.mvcconfig"})
@EnableWebMvc//开启json数据类型自动转换,日期格式(开启SpringMVC多想辅助功能)
public class SpringMvcConfig {
}
